﻿//创建时间: 2010-12-15
//创建作者: 李 城
//功能说明: 404 错误访问页面
//最后修改: 2010-12-15
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using TRPOP.CMS.Business;
using TRPOP.CMS.Model;
using System.Web;

using TRPOP.Config;
using TRPOP.CMS.Plugin;
using TRPOP.CMS.Log;
using TRPOP.Common;

namespace TRPOP.CMS.Web.ExtraBus
{
    /// <summary>
    /// 动态访问列表页
    /// </summary>
    public class Page_Load_Prompt : BasePage
    {
        protected override void OnInit(EventArgs e)
        {
            Load_Base();
            base.OnInit(e);
        }
        /// <summary>
        /// 动态访问列表页
        /// </summary>
        public void Load_Base()
        {
            Response.Clear();
            string strHTMLInfo = RequestHelper.RequestString("errorInfo").HtmlDecode();
            object obj = Publish.PublishAccess.GetPagePrompt(strHTMLInfo);
            if (obj is string)
            {
                Response.Write(obj.ToString());
            }
            else
                Response.Write("请先配置错误信息提示页");

            Response.End();
        }   
    }
}
